package com.ambimmort.shj.action.Lsl;

import com.ambimmort.shj.service.LslService.RSUService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by ma on 2015/7/30.
 */
@Controller("/action/common/get_white_list.do")
public class ReadWhite2UI {

    @Autowired
    private RSUService rsuService;

    @RequestMapping("/action/common/get_white_list.do")
    @ResponseBody
    public String action_crm(HttpServletRequest request, @RequestParam("pageCount") String pageCount, @RequestParam("page") String page
            , @RequestParam("MessageType") String MessageType, @RequestParam("policy_instance") String policy_instance, @RequestParam("iDisplayStart") String iDisplayStart,
                             @RequestParam("iDisplayLength") String iDisplayLength) {

        return rsuService.readWhite2UI(pageCount, page, MessageType, policy_instance, iDisplayStart, iDisplayLength);

    }
}
